A value of type
ControlHandle
. Pass a handle to the control containing the part for which a region is to be obtained.
inPart
A value of type
ControlPartCode
. Pass a constant identifying the control part for which a region is to obtained; you may specify the
kControlStructureMetaPart
and
kControlContentMetaPart
control part codes, as well as the standard control part codes. See
Control Part Code Constants
for descriptions of possible values.
outRegion
Pass a value of type
RgnHandle
. On return,
GetControlRegion
sets the region to contain the actual dimensions and position of the control part, in local coordinates.